package com.biz.primus.ms.oms.dao.po;

import com.biz.primus.ms.base.jpa.po.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

/**
 * @author yanweijin
 * @date 2017/10/25
 */
@Data
@Entity
@Table(name = "oms_shipping_info", indexes = {
		@Index(name = "idx_order_id",columnList = "orderId")
})
public class OrderShippingInfo extends BaseEntity{

	@Column(nullable = false)
	private Long orderId;

	/**
	 * 本次配送执行的门店
	 */
	private String depotCode;

	/**
	 * 配送时间限制:开始计时后多少分钟
	 */
	private Integer timeLimit;




}
